package com.bjqg.bjqg01.bjqg.activity.seekprice.activity;

import android.appwidget.AppWidgetProviderInfo;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.bjqg.bjqg01.bjqg.R;
import com.bjqg.bjqg01.bjqg.activity.BaseActivity;
import com.zhy.autolayout.AutoRelativeLayout;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by bjqg01 on 2018/9/3.
 */

public class SeekCljcActivity extends BaseActivity {
    @BindView(R.id.back)
    ImageView back;
    @BindView(R.id.tv_top_title_drawer)
    TextView tvTopTitleDrawer;
    @BindView(R.id.tv_search_top_drawer)
    TextView tvSearchTopDrawer;
    @BindView(R.id.seekcljc_sn)
    AutoRelativeLayout seekcljcSn;
    @BindView(R.id.seekcljc_jl)
    AutoRelativeLayout seekcljcJl;
    @BindView(R.id.seekcljc_chl)
    AutoRelativeLayout seekcljcChl;
    @BindView(R.id.seekcljc_hnt)
    AutoRelativeLayout seekcljcHnt;
    @BindView(R.id.seekcljc_jzgc)
    AutoRelativeLayout seekcljcJzgc;
    @BindView(R.id.seekcljc_qtcl)
    AutoRelativeLayout seekcljcQtcl;
    @BindView(R.id.seekcljc_fscl)
    AutoRelativeLayout seekcljcFscl;
    @BindView(R.id.seekcljc_mcmq)
    AutoRelativeLayout seekcljcMcmq;
    @BindView(R.id.seekcljc_jncl)
    AutoRelativeLayout seekcljcJncl;
    @BindView(R.id.seekcljc_jzdq)
    AutoRelativeLayout seekcljcJzdq;
    @BindView(R.id.seekcljc_gwcl)
    AutoRelativeLayout seekcljcGwcl;
    @BindView(R.id.seekcljc_zscl)
    AutoRelativeLayout seekcljcZscl;
    @BindView(R.id.seekcljc_szgc)
    AutoRelativeLayout seekcljcSzgc;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_seekcljc);
        ButterKnife.bind(this);
        initdata();
    }

    private void initdata() {
        tvTopTitleDrawer.setText("价格查询");
        tvSearchTopDrawer.setVisibility(View.INVISIBLE);
    }

    @OnClick({R.id.back, R.id.seekcljc_sn})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.back:
                finish();
                break;
            case R.id.seekcljc_sn:
                Intent tosn = new Intent(SeekCljcActivity.this, SeekPriceListActivity.class);
                tosn.putExtra("name", "水泥");
                startActivity(tosn);
                break;
        }
    }
}
